package com.dhh.sky.util;

public class CopyAndPaste {
	public static String operation;
	private static String path;
	private static String parent;
	
	public static synchronized void copy(String path,String parent){
		CopyAndPaste.path = path;
		CopyAndPaste.parent = parent;
	}
	
	public static synchronized String plate(){
		String rval = path;
		path = null;
		return rval;
	}
	
	public static boolean canPlate(){
		return path!=null ? true:false;
	}
	
	public static String getPath(){
		return path;
	}
	
	public static String getParent(){
		return parent;
	}
}
